package cn.ynrcb.personnelfile.admin.service;

import cn.ynrcb.personnelfile.admin.vo.SmsVo;
import cn.ynrcb.personnelfile.common.utils.R;

/**
 * 短信发送
 *
 * @author lihui
 *
 * @date 2021-03-25 17:23:21
 */
public interface SmsService {

    /**
     * 发送短信
     *
     * @param param
     *
     * @return
     */
    R sendSms(SmsVo.SendSmsParm param);

    /**
     * 校验短信验证码
     *
     * @param param
     *
     * @return
     */
    boolean checkSmsCode(SmsVo.CheckSmsParm param);

    /**
     * 发送审核不通过短信
     * @param mobile
     * @param auditRemark
     * @return
     */
    Boolean sendAuditSms(String mobile, String auditRemark);

    Boolean sendComplaint(String phone, String content);

    Boolean sendH5Audit(String phone, String content);

    R sendMsg(SmsVo.SendSmsParm params);
}

